﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace TdgMaker
{
    class WriteTdg
    {
        static StreamWriter writer;
        public static string file = "c:\\temp.tdg";
        public static void WriteIt(string s)
        {

            if (File.Exists(file))
            {
                File.Delete(file);
            }
            writer = File.CreateText(file);
            writer.WriteLine(s);
            writer.Flush();
            writer.Close();
        }
    }
}
